Release 10.1A: OpenEdge Development:
ADM Reference
SmartB2BObject
The SmartB2BObject transforms data between XML and 4GL based on an agreed-upon XML schema mapped to local data representations. It performs this service on behalf of other SmartObjects, particularly the SmartBusinessObject and SmartDataObject.
A single instance transforms either inbound or outbound messages, but not both. Two instances of this object are required when transforming both inbound and outbound messages.
The class name of the object is B2B, and it inherits from classes MsgHandler and XML. All are user-defined classes.
The file
src/adm2/b2b.pis the super procedure for the SmartB2BObject class. It contains logic that uses the XML mapping schema to read or store data in data objects. Table 1–6 lists the class and custom files related tob2b.p.
MsgHandler class
The MsgHandler class is represented by the super procedure
msghandler.p. Table 1–7 lists the class and custom files related tomsghandler.p.
XML class
The
Xml.pfile presents a simplified DOM API by encapsulating the 4GL DOM statements so that x-noderef handles never need to be exposed tob2b.p. Table 1–8 lists the class and custom files related toxml.p.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |